#ifndef MATRIXBOOK_H
#define MATRIXBOOK_H

#include <QWidget>

class MatrixBookPrivate;
class MatrixSheet;
class MatrixBook : public QWidget
{
    Q_OBJECT
public:
    explicit MatrixBook(QWidget *parent = 0);
    ~MatrixBook();

    void addSheet(MatrixSheet* sheet);
    void removeSheet(MatrixSheet* sheet);
    QList<MatrixSheet*> sheets() const;
    void clear();

private slots:
    void onTabChanged(int index);

private:
    MatrixBookPrivate* d_ptr;
    Q_DISABLE_COPY(MatrixBook)
};

#endif // MATRIXBOOK_H
